<template>
  <div>
    <h1>这是<i>vue.js</i> 的根组件</h1>
   <h3>abc---{{username}}</h3>
   <my-swiper></my-swiper>
   <my-test></my-test>
   <my-search></my-search>
  </div>

</template>
<script>
// 局部引入search组件
import Search from './components/globalReg2/Search.vue'
export default{
  name:'MyApp',
  data(){
    return{
      username:'zs'
    }
  },
  components:{
    'my-search':Search
  },
}
</script>
<style lang="less">
h1{
  color: red;
  i{
    color: blue;
  }
}
</style>